<div *ngIf = "hero" >
      <h2> {{hero.name}} 详情</h2>
      <div> <label>id :</label> {{hero.id}}  </div>
       <div> <label>id :</label> 
          <input [(ngModel)] = "hero.name" placeholder = "name" >
      </div>
      <button (click) = "save()" >保存</button>
      <button (click) = "goback()" >返回</button>
      </div>